<?php if($_thread['red_num'] > 0){ ?>
<i class="icon-gift" style="color:red;" aria-hidden="true" title="有红包!"></i> <?php } ?>